/**************************************************

  wallop-slider--fold.css

  This is the customanimation styles

**************************************************/
.wallop-slider--custom .wallop-slider__list {
  -webkit-perspective: 1000;
}

.wallop-slider--custom .wallop-slider__item--curent {
  z-index: 2;
}

.wallop-slider--custom .wallop-slider__item--show-previous {
  -webkit-transform: translateZ(0);
  -webkit-transform-origin: center left;
  -webkit-animation: foldFromLeft 550ms cubic-bezier(0.175, 0.885, 0.320, 1.275) both;
  z-index: 1;
}

.wallop-slider--custom .wallop-slider__item--show-next {
  -webkit-transform: translateZ(0);
  -webkit-transform-origin: center right;
  -webkit-animation: foldFromRight 1550ms cubic-bezier(0.175, 0.885, 0.320, 1.275) both;
  z-index: 1;
}

.wallop-slider--custom .wallop-slider__item--hide-previous,
.wallop-slider--custom .wallop-slider__item--hide-next {
  display: block;
  z-index: -1
}

/*==========  FOLD ANIMATIONS  ==========*/
@-webkit-keyframes foldFromLeft {
  0% {
    -webkit-transform: rotateY(-90deg);
  }
}

@-webkit-keyframes foldFromRight {
  0% {
    -webkit-transform: rotateY(90deg);
  }
}
